<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<title>物流后台管理</title>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="./LayUi/plugin/layui/css/layui.css" media="all">
	<link rel="stylesheet" href="./LayUi/css/style.css">
	<script type="text/javascript" src="./LayUi/js/jquery.min.js"></script>
	<script type="text/javascript" src="./LayUi/plugin/layui/layui.js"></script>
</head>

<body>
	<!-- 顶部开始 -->
	<div class="admin-header">
		<div class="logo">
			<a target="appiframe" href="test.html">天府物流管理系统</a>
		</div>
		<ul class="layui-nav layui-layout-left" style="background-color:#222;">
			<li class="layui-nav-item">
				<a target="appiframe" href="test.html">网站首页</a>
			</li>
		</ul>
		<ul class="layui-nav layui-layout-right" style="background-color:#222;">
			<li class="layui-nav-item">
				<a href="javascript:">Admin</a>
				<dl class="layui-nav-child">
					<dd><a target="appiframe" href="user-setting.html">基本资料</a></dd>
					<dd><a target="appiframe" href="user-password-edit.html">密码修改</a></dd>
				</dl>
			</li>
			<li class="layui-nav-item"><a href="">退出</a></li>
		</ul>
	</div>
	<!-- 顶部结束 -->
	<!-- 中部开始 -->
	<!-- 左侧菜单开始 -->
	<div class="left-nav">
		<div id="side-nav">
			<ul class="nav" id="nav">
				<li id="menu1"><a _href=""><i class="layui-icon layui-icon-note"></i><cite>用户管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu2"><a _href="/User_Management/Staff_management.html"><i
								class="layui-icon layui-icon-right"></i><cite>员工管理</cite></a></li>
						<li id="menu3"><a _href="/User_Management/Department_setting.html"><i
								class="layui-icon layui-icon-right"></i><cite>部门设置</cite></a></li>
						<li id="menu4"><a _href="/User_Management/Role-Permission.html"><i
								class="layui-icon layui-icon-right"></i><cite>角色权限</cite></a></li>
					</ul>
				</li>
				<li id="menu5"><a href=""><i class="layui-icon layui-icon-chart"></i><cite>车辆管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu6"><a href="Car/Carlist.html"><i
								class="layui-icon layui-icon-right"></i><cite>车辆列表</cite></a></li>
						<li id="menu7"><a _href="Car/Carinsurance.html"><i
								class="layui-icon layui-icon-right"></i><cite>车辆保险</cite></a></li>
						<li id="menu8"><a _href="Car/Carinsurance"><i
								class="layui-icon layui-icon-right"></i><cite>车辆任务</cite></a></li>
					</ul>
				</li>
				<li id="menu9"><a _href=""><i class="layui-icon layui-icon-chart"></i><cite>计划管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu10"><a _href="./Plan_Management/Plan_List.html"><i
								class="layui-icon layui-icon-right"></i><cite>计划列表</cite></a></li>
						<li id="menu11"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>备品计划</cite></a></li>
						<li id="menu12"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>新品/林措</cite></a></li>
						<li id="menu13"><a _href="./Plan_Management/Cable_Plan.html"><i
								class="layui-icon layui-icon-right"></i><cite>电缆计划</cite></a></li>
					</ul>
				</li>
				<li id="menu14"><a _href=""><i class="layui-icon layui-icon-note"></i><cite>仓库管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu15"><a _href="./Warehouse_management/Warehouse_Setting.html"><i
								class="layui-icon layui-icon-right"></i><cite>仓库设置</cite></a></li>
						<li id="menu16"><a _href="./Warehouse_management/Location_Setting.html"><i
								class="layui-icon layui-icon-right"></i><cite>库位设置</cite></a></li>
						<li id="menu17"><a _href="./Warehouse_management/Transfer_Record.html"><i
								class="layui-icon layui-icon-right"></i><cite>转移记录</cite></a></li>
					</ul>
				</li>
				<li id="menu18"><a _href=""><i class="layui-icon layui-icon-user"></i><cite>库存查询</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu19"><a _href="Inventory Management/Material Management.html"><i
								class="layui-icon layui-icon-right"></i><cite>物料管理</cite></a></li>
						<li id="menu20"><a _href="Inventory Management/Inventory Query.html"><i
								class="layui-icon layui-icon-right"></i><cite>库存查询</cite></a></li>
					</ul>
				</li>
				<li id="menu21"><a _href=""><i class="layui-icon layui-icon-user"></i><cite>财务管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu22"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>出入库台账</cite></a></li>
						<li id="menu23"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>计划结账</cite></a></li>
						<li id="menu24"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>年度出入台账</cite></a></li>
					</ul>
				</li>
				<li id="menu25"><a _href=""><i class="layui-icon layui-icon-user"></i><cite>统计报表</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu26"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>出车统计</cite></a></li>
						<li id="menu27"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>新品统计</cite></a></li>
						<li id="menu28"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>物料出入统计</cite></a></li>
						<li id="menu29"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>人员任务统计</cite></a></li>
					</ul>
				</li>
				<li id="menu30"><a _href=""><i class="layui-icon layui-icon-user"></i><cite>系统管理</cite><i
						class="layui-icon nav_right"></i></a>
					<ul class="sub-menu">
						<li id="menu31"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>消息通知</cite></a></li>
						<li id="menu32"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>定时任务</cite></a></li>
						<li id="menu33"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>菜单管理</cite></a></li>
						<li id="menu34"><a _href="user-list.html"><i
								class="layui-icon layui-icon-right"></i><cite>数据字典</cite></a></li>
					</ul>
				</li>
			</ul>
		</div>
	</div>
	<!-- 左侧菜单结束 -->
	<!-- 右侧主体开始 -->
	<div class="page-content">
		<iframe src='test.html' frameborder="0" scrolling="yes" allowtransparency="true" id="appiframe"
			name="appiframe"></iframe>
	</div>
	<script src="./LayUi/layui/layui.js"></script>
	<!-- 右侧主体结束 -->
	<!-- 中部结束 -->
	<script type="text/javascript">
		/*
		 * @todo 左侧菜单事件
		 * 如果有子级就展开，没有就打开frame
		 */
		$('body').on('click', '.left-nav #nav li', function (event) {
			if ($(this).children('.sub-menu').length) {
				if ($(this).hasClass('open')) {
					$(this).removeClass('open');
					$(this).find('.nav_right').removeClass('layui-icon-down');
					$(this).find('.nav_right').addClass('layui-icon-up');
					$(this).children('.sub-menu').stop().slideUp();
					$(this).siblings().children('.sub-menu').slideUp();
				} else {
					$(this).addClass('open');
					$(this).children('a').find('.nav_right').removeClass('layui-icon-up');
					$(this).children('a').find('.nav_right').addClass('layui-icon-down');
					$(this).children('.sub-menu').stop().slideDown();
					$(this).siblings().children('.sub-menu').stop().slideUp();
					$(this).siblings().find('.nav_right').removeClass('layui-icon-down');
					$(this).siblings().find('.nav_right').addClass('layui-icon-up');
					$(this).siblings().removeClass('open');
				}
			} else {
				var url = $(this).children('a').attr('_href');
				var title = $(this).find('cite').html();
				var index = $('.left-nav #nav li').index($(this));
				$('#appiframe').attr('src', url);
			}
			event.stopPropagation(); //不触发任何前辈元素上的事件处理函数
		});
		//左侧菜单事件右侧图标初始化
		$(document).ready(function () {
			$('.nav_right').removeClass('layui-icon-up');
			$('.nav_right').removeClass('layui-icon-down');
			$('.nav_right').addClass('layui-icon-up');
			$('li.open > .nav_right').removeClass('layui-icon-up');
			$('li.open > .nav_right').addClass('layui-icon-down');
			$('li.open > .sub-menu').show();
		});
	</script>

</body>

</html>